package com.book.service;

import com.book.dto.BookPage;
import com.book.entity.Book;
import com.book.utils.ResponseResult;

public interface BookService {
    ResponseResult getList(BookPage bookPage);

    ResponseResult getClassList();

    ResponseResult getBookById(int id);

    ResponseResult getBooks(BookPage bookPage);

    ResponseResult deleteBook(int id);

    ResponseResult addBook(Book book);

    ResponseResult getOneBook(int id);

    ResponseResult getBookClassesById(int id);
}
